﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="updateTeacher.aspx.cs" Inherits="teacher_updateTeacher" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <link href="../css/body.css" rel="stylesheet" type="text/css" />
    <link href="../css/table.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        .main
        {
            text-align: left;
            width:400px;
            margin-left:50px;
            margin-top:30px;
        }
        </style>
</head>
<body>
    <form id="form1" runat="server">
    <div class="main">
    <h3>教师编号:<asp:label ID="lb_Id" runat="server"></asp:label></h3>
        <table width="400px" class="tab" style="text-align: left" >
           
            <tr>
                <td width="100">
                    姓名：</td>
                <td width="250">
                    <asp:TextBox ID="tb_name" runat="server"></asp:TextBox>
                     <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                        ControlToValidate="tb_name" ErrorMessage="*">*</asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td>
                    简介：</td>
                <td>
                    <asp:TextBox ID="tb_about" runat="server" Height="150px" Width="250px" TextMode="MultiLine"></asp:TextBox>
                     <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                        ControlToValidate="tb_about" ErrorMessage="*">*</asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td rowspan="2">
                    个人照片：<br />
                    (高240,宽168)
                </td>
                <td>
                    <asp:TextBox ID="tb_picUrl" runat="server" Width="250px" ReadOnly="true"></asp:TextBox>
                    <asp:Image runat="server" id="img_pic" Height="50" ></asp:Image>
                     <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                        ControlToValidate="tb_picUrl" ErrorMessage="*">*</asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
            <td><asp:FileUpload ID="fud_img" runat="server" Width="190px" />
                    &nbsp;&nbsp;
                    <asp:Button ID="btn_upload" runat="server" Text="上传" 
                        onclick="btn_upload_Click" Width="50px" CausesValidation="False"/></td>
            </tr>
            <tr>
                <td colspan="2">
                    <asp:Button ID="btn_ok" runat="server" Text="修改" onclick="btn_ok_Click" />
                </td>
            </tr>            
        </table>
    
    </div>
    </form>
</body>
</html>
